package com.itheima.extends6constructor;

public class Test2 {
    //目标:子类调用父类构造器的应用场景
    public static void main(String[] args) {
        Teacher t=new Teacher("dlei","java,大数据,微服务",'男');
        System.out.println(t.getName());
        System.out.println(t.getSkills());
        System.out.println(t.getSex());
    }

}
